/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.LSP.obey.model;

/**
 *
 * @author DieFStaL
 */
public class PianoPlayer {

    public boolean playing;
    public String name;

    public PianoPlayer() {
    }

    public PianoPlayer(boolean playing, String name) {
        this.playing = playing;
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isPlaying() {
        return playing;
    }

    public void setPlaying(boolean playing) {
        this.playing = playing;
    }

    public void startPlaying() {
        this.playing = true;
    }

    public void stopPlaying() {
        this.playing = false;
    }
}
